package com.cyl.manager.yee.convert;

import org.mapstruct.Mapper;
import com.cyl.manager.yee.domain.ComplaintInfoFlat;
import com.cyl.manager.yee.pojo.dto.ComplaintInfoFlatDTO;
import com.cyl.manager.yee.pojo.vo.ComplaintInfoFlatVO;
import java.util.List;
/**
 * 会员订单投诉  DO <=> DTO <=> VO / BO / Query
 *
 * @author hxw
 */
@Mapper(componentModel = "spring")
public interface ComplaintInfoFlatConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    ComplaintInfoFlatDTO do2dto(ComplaintInfoFlat source);

    /**
     * @param source DTO
     * @return DO
     */
    ComplaintInfoFlat dto2do(ComplaintInfoFlatDTO source);

    List<ComplaintInfoFlatVO> dos2vos(List<ComplaintInfoFlat> list);
}
